﻿using System.Collections.ObjectModel;
using JY.Wpf.Core.Tools;
using JY.Wpf.Core.ViewModelBases;
using JY.Wpf.Test.Views.ControlDemoViews;
using SD.IOC.Core.Mediators;

namespace JY.Wpf.Test.ViewModels.ControlDemoViewModels
{
    [NotifyPropertyChanged]
    public class StepBarDemoViewModel : ViewModelBase
    {
        #region # 变量
        
        #endregion

        #region # 构造器
        /// <summary>
        /// 构造器
        /// </summary>
        public StepBarDemoViewModel()
        {
            this.DataList=new ObservableCollection<string>()
            {
                "步骤1",
                "步骤2",
                "步骤3",
                "步骤4",
                "步骤5",
            };
        }
        #endregion

        #region # 属性

        public ObservableCollection<string> DataList { get; set; }

        #endregion

        #region # Command方法

        #endregion

        #region # 方法
        #endregion

        #region # 获取页面 —— object GetView(object context = null)
        /// <summary>
        /// 获取页面
        /// </summary>
        /// <param name="context">页面</param>
        /// <returns></returns>
        public override object GetView(object context = null)
        {
            return ResolveMediator.Resolve<StepBarDemoView>();
        }
        #endregion
    }
}
